package com.nmf.site.biz.pay.wechat.entity;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

public class PayReq {
	@Min(value = 0,message="金额必须大于0")
	@NotNull(message="金额必须大于0")
	private	Double price=0d;
	
	private String payGoodsId;
	private Integer num=1;
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public String getPayGoodsId() {
		return payGoodsId;
	}
	public void setPayGoodsId(String payGoodsId) {
		this.payGoodsId = payGoodsId;
	}
	public Integer getNum() {
		return num;
	}
	public void setNum(Integer num) {
		this.num = num;
	}
}
